@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

@IF
NEGOTIATION
talker=Free Peoples
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Mordor
talkertype=HumanOrComputer
listener=Free Peoples
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Isengard
talkertype=HumanOrComputer
listener=Free Peoples
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Elven
talkertype=HumanOrComputer
listener=Free Peoples
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Mordor
talkertype=HumanOrComputer
listener=Elven
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Elven
talkertype=HumanOrComputer
listener=Mordor
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Isengard
talkertype=HumanOrComputer
listener=Elven
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Elven
talkertype=HumanOrComputer
listener=Isengard
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=none
talkertype=HumanOrComputer
listener=Free Peoples
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Geo
talkertype=HumanOrComputer
listener=Free Peoples
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Spare
talkertype=HumanOrComputer
listener=Free Peoples
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Spare
talkertype=HumanOrComputer
listener=Mordor
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Mordor
talkertype=HumanOrComputer
listener=Spare
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
UNITKILLED
unit=Galadriel
attacker=Free Peoples
defender=none
@THEN
TEXT
The Lady Galadriel grants the Fellowship a boat to carry them, more swiftly, down the river on
their quest, at least as far as the Falls of Rauros.
^Gifts are given to the party: to Frodo, the Lady gives her starglass: the light of Earendil;
"...to be a light when all other lights go out".
ENDTEXT
CREATEUNIT
unit=Elven boat
owner=Free Peoples
veteran=yes
homecity=none
locations
40,26
41,27
endlocations
CHANGETERRAIN
terraintype=3
maprect
37,21,39,21,39,23,37,23
@ENDIF

@IF
UNITKILLED
unit=Clue3
attacker=Free Peoples
defender=Isengard
@THEN
TEXT
^^The Breaking of the Fellowship!
^The Fellowship rests for a time near the mighty falls of Rauros. The road ahead is not clear to
Aragorn. He feels that his true path will take him to Minas Tirith, but the Ring's path lies in
Mordor. Before he can decide, a madness consumes Boromir and he attempts to take the One
Ring from Frodo. But, he fails and Frodo slips away with Sam close on his heels.
^To make matters worse, while searching for Frodo, the party are overcome by a host of Uruks
from Isengard. They capture Merry and Pippin and flee westward back to their master, Saruman.
In the battle, Boromir, who galantly tried to protect the hobbits, is slain.
^At last, Aragorn sees where his true path lies. With Frodo gone, the fate of the One Ring is in his
hands no longer. He, Gimli and Legolas swear not to abandon Merry and Pippin to torment and
death at the hands of Saruman's orcs.
^"We follow the orcs! ...Forth! The Three Hunters!"
ENDTEXT
CREATEUNIT
unit=Aragorn
owner=Free Peoples
veteran=yes
homecity=none
locations
66,96
65,95
65,97
66,98
65,99
66,100
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue3
attacker=Free Peoples
defender=Isengard
@THEN
CREATEUNIT
unit=Legolas
owner=Free Peoples
veteran=yes
homecity=none
locations
66,96
65,95
65,97
66,98
65,99
66,100
endlocations
CHANGETERRAIN
terraintype=10
maprect
68,98,70,98,70,100,68,100
@ENDIF

@IF
UNITKILLED
unit=Clue3
attacker=Free Peoples
defender=Isengard
@THEN
CREATEUNIT
unit=Gimli
owner=Free Peoples
veteran=yes
homecity=none
locations
66,96
65,95
65,97
66,98
65,99
66,100
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue3
attacker=Free Peoples
defender=Isengard
@THEN
CREATEUNIT
unit=Frodo & Sam
owner=Free Peoples
veteran=yes
homecity=none
locations
68,94
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue3
attacker=Free Peoples
defender=Mordor
@THEN
TEXT
Patrolling the windswept grasslands of Rohan is Eomer, the King's sister's-son.
^Even though it is against his King's orders, he is hunting orcs that travel in these parts and tells
you that a company of his men had engaged a party of Saruman's Uruks to the north-west not
long ago. He reports that all the Uruks were slain. Their bodies piled high and burned. If those
were the orcs you seek and the halflings were among them, then it would seem likely that they too
are now dead.
^Perhaps it would be wise to travel north-west to look among the ashes for the remains of Merry
and Pippin.
ENDTEXT
CREATEUNIT
unit=Eomer
owner=Free Peoples
veteran=yes
homecity=none
locations
33,83
33,79
31,81
35,81
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue2
attacker=Free Peoples
defender=Isengard
@THEN
TEXT
Here lies what lttle remains of several dozen Orcs and Uruks. Indeed these seem to be the very
ones that you fought at Rauros, but among the charred bodies you find no sign of the two
halflings.
^Perhaps, there is hope for them yet. During the battle they may have slipped north into Fangorn
Forest.
ENDTEXT
CREATEUNIT
unit=Clue2
owner=Spare
veteran=no
homecity=none
locations
23,61
22,60
22,62
24,62
24,60
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue2
attacker=Free Peoples
defender=Spare
@THEN
TEXT
In the forest you come across a wandering white robed figure. Could it be the evil wizard,
Saruman?
^NO! To your utter astonishment it is Gandalf! He has returned from his death in Moria and is
now more powerful then ever! No longer 'the Grey', he is Gandalf the White!
^He says, "Do not fear for the hobbits, Merry and Pippin. They are safe in the Forest. Treebeard
the Ent is looking after them.
^"For ourselves, we must fly to the aid of Edoras, there to rally King Theoden and muster the
forces of Rohan; defeat the traitor, Saruman; then come to the aid of Gondor."
ENDTEXT
CREATEUNIT
unit=Gandalf
owner=Free Peoples
veteran=yes
homecity=none
locations
23,61
22,60
22,62
24,62
24,60
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue2
attacker=Free Peoples
defender=Spare
@THEN
CREATEUNIT
unit=Uruk-hai
owner=Mordor
veteran=yes
homecity=none
locations
113,23
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
TEXT
^^HOOOOM!!!
^In Fangorn Forest, Treebeard has taken Merry and Pippin to the Entmoot. He had explained to
them before hand: "There, all the Ents will decide what to do about young Saruman and his tree
killing orcs."
^The hobbits had expected to wait for many days before a decision was reached, but to their
relief and surprise the Ents quickly reached their verdict. Never have they been so roused.
^They are to march on Isengard! There they will confront and destroy Saruman, and maybe be
destroyed themselves, in the attempt. Win or lose, this is the last march of the Ents.
ENDTEXT
CREATEUNIT
unit=Merry & Pippin
owner=Free Peoples
veteran=no
homecity=none
locations
17,57
19,57
18,58
endlocations
PLAYWAVEFILE
MOOTDOOM.WAV
GIVETECHNOLOGY
receiver=Free Peoples
technology=72
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Treebeard
owner=Free Peoples
veteran=yes
homecity=none
locations
17,57
19,57
18,58
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Ent
owner=Free Peoples
veteran=no
homecity=none
locations
16,56
16,58
16,54
16,60
15,59
15,57
15,55
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Ent
owner=Free Peoples
veteran=no
homecity=none
locations
16,56
16,58
16,54
16,60
15,59
15,57
15,55
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Ent
owner=Free Peoples
veteran=no
homecity=none
locations
16,56
16,58
16,54
16,60
15,59
15,57
15,55
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Ent
owner=Free Peoples
veteran=no
homecity=none
locations
16,56
16,58
16,54
16,60
15,59
15,57
15,55
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Ent
owner=Free Peoples
veteran=no
homecity=none
locations
16,56
16,58
16,54
16,60
15,59
15,57
15,55
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
TEXT
Theoden's spirit is at last lifted from beneath the lying councils of Grima Wormtongue. Too long
has the treachorous wizard Saruman been allowed to do as he wills in Rohan. The time has come
to put an end to the evil that threatens the free peoples!
^The muster of Rohan begins in Edoras!
ENDTEXT
CREATEUNIT
unit=Theoden
owner=Free Peoples
veteran=yes
homecity=none
locations
29,111
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Eowyn
owner=Free Peoples
veteran=yes
homecity=none
locations
29,111
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Rohan H.Cav
owner=Free Peoples
veteran=yes
homecity=none
locations
29,111
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Rohan H.Cav
owner=Free Peoples
veteran=yes
homecity=none
locations
29,111
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Rohan H.Cav
owner=Free Peoples
veteran=yes
homecity=none
locations
29,111
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Rohan H.Cav
owner=Free Peoples
veteran=yes
homecity=none
locations
29,111
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Rohan L.Cav
owner=Free Peoples
veteran=yes
homecity=none
locations
29,111
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Rohan L.Cav
owner=Free Peoples
veteran=yes
homecity=none
locations
29,111
endlocations
@ENDIF

@IF
CITYTAKEN
city=5
attacker=Mordor
defender=none
@THEN
CREATEUNIT
unit=Rohan L.Cav
owner=Free Peoples
veteran=yes
homecity=none
locations
29,111
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue3
attacker=Free Peoples
defender=Spare
@THEN
TEXT
Having taken the Paths of the Dead, Aragorn at last comes to the stone of Erech. There he calls
forth those long dead warriors who broke their oath to Isildur, his father of old. He commands
the fearsome ghosts to make amends now by coming to his aid.
^All around, the dead awake and rise up.
ENDTEXT
CREATEUNIT
unit=The Dead
owner=Free Peoples
veteran=no
homecity=none
locations
28,122
30,122
endlocations
PLAYWAVEFILE
EXTRA7.WAV
@ENDIF

@IF
UNITKILLED
unit=Clue3
attacker=Free Peoples
defender=Spare
@THEN
CREATEUNIT
unit=The Dead
owner=Free Peoples
veteran=no
homecity=none
locations
28,122
30,122
endlocations
CHANGETERRAIN
terraintype=4
maprect
28,120,28,120,28,120,28,120
@ENDIF

@IF
UNITKILLED
unit=Clue3
attacker=Free Peoples
defender=Spare
@THEN
CREATEUNIT
unit=The Dead
owner=Free Peoples
veteran=no
homecity=none
locations
28,122
30,122
endlocations
CHANGETERRAIN
terraintype=4
maprect
32,132,32,132,32,132,32,132
@ENDIF

@IF
UNITKILLED
unit=Clue3
attacker=Free Peoples
defender=Spare
@THEN
CREATEUNIT
unit=The Dead
owner=Free Peoples
veteran=no
homecity=none
locations
28,122
30,122
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue3
attacker=Free Peoples
defender=Spare
@THEN
CREATEUNIT
unit=The Dead
owner=Free Peoples
veteran=no
homecity=none
locations
28,122
30,122
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue1
attacker=Free Peoples
defender=Isengard
@THEN
TEXT
Finally the two walkers reach the border of Emyn Muil. Ahead of them lie the stinking pools and
treacherous bogs of the Dead Marshes. As they contemplate the crossing, a gangrelled shape,
skulking among the long reeds that grow hereabouts, launches itself at Frodo! It's Gollum! He
must have been following them for days, driven by his craze to have the One Ring back
for himself.
^Fortunately, Sam had his wits about him and manages to overcome the slinking creature. Frodo
stays Sam's hand and stops him from killing Gollum. He remembers Gandalf's words, "...Gollum
may have some part to play ere the end, for good or ill."
^Deciding not to kill him, he instead forces Gollum to swear an oath that if he ever touches the
Ring again he will be cast into the fires of it's creation.
^Seemingly cowed by the oath, Gollum leads the party into the Dead Marshes. He warns as they
set out, "Do not step into the pools... or you'll go down and join the dead who lie in them, my
preciouses!"
^Although Frodo seems happy with their new guide, Sam is ever watchful. He doesn't trust this
slinker and stinker.
ENDTEXT
CREATEUNIT
unit=Companions
owner=Free Peoples
veteran=yes
homecity=none
locations
83,95
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue1
attacker=Free Peoples
defender=Isengard
@THEN
CHANGETERRAIN
terraintype=9
maprect
81,93,81,93,81,93,81,93
@ENDIF

@IF
UNITKILLED
unit=Clue1
attacker=Free Peoples
defender=Spare
@THEN
TEXT
Gollum leads Frodo and Sam up a straight stair; then a winding stair; then into series of tunnels.
Little do they know that the slinking trickster has lead them into the perilous and deathly dark
caverns of Torech Ungol.
^Midway through the stinking caves, Gollum abandons the hobbits and they have to make their
way blindly alone. Unknown to them, Gollum has brought them here to be killed and eaten by the
Great Spider, Shelob. Once she has finished with them he intends to search among their remains
for his precious ring.
^Indeed, his plan almost works! Shelob captures Frodo, biting him on the neck. But, Sam, using
the shining phial of Galadriel, rescues him. He even deals a mighty wound to the great spider
with Frodo's elven blade, Sting. But, Shelob's bite has taken Frodo. He lies still and cold upon the
floor. Sam is grief-stricken. If the quest is to be completed it is Sam who must do it, alone.
ENDTEXT
CREATEUNIT
unit=Uruk-hai
owner=Mordor
veteran=yes
homecity=none
locations
108,4
endlocations
@ENDIF

@IF
UNITKILLED
unit=Clue1
attacker=Free Peoples
defender=Spare
@THEN
CHANGETERRAIN
terraintype=5
maprect
99,129,99,129,99,129,99,129
@ENDIF

@IF
CITYTAKEN
city=4
attacker=Mordor
defender=Spare
@THEN
TEXT
Frodo wakes up in the evil tower of Cirith Ungol. He has endured unbearable torture at the hands
of its denizens. Between their beatings and interogations he tries to recall what happened to his
friend Sam. He remembers being bitten by Shelob: it's poison knocked him out. But, Sam was
fighting the foul creature. He must have been killed, for Frodo cannot see how he could have
prevailed. Poor Samwise! A truer friend and finer hobbit could never be found!
^
^Then Frodo realises, to his horror, he has been stripped of his fine mithril shirt and Bilbo's
beautiful elven blade... but , worst of all, the One Ring has been taken!!
^Frodo's pain turns to abject despair. For the quest has failed. Soon the One Ring will be back
upon it's masters greedy hand and with it, he will consume the world. The quest has failed!!
^
^Frodo's tearful wails are answered by the distant but resolute singing of a familiar voice. But, it
seems impossible! An elven song is being sung is this horrible place, and what's more it grows
stronger as its singer draws closer. At last, the singer enters Frodo's cell.
^It's Sam! And he has Frodo's elven sword... and the One Ring! He says that all the orcs have
killed each other for ownership of the mithril shirt. The path from the tower lies unguarded. They
cannot tarry here, for surely, Sauron will soon know what happened here, and maybe even
guess that his Ring draws near to Mount Doom.
ENDTEXT
CREATEUNIT
unit=Frodo & Sam II
owner=Free Peoples
veteran=yes
homecity=none
locations
102,128
102,130
103,129
endlocations
PLAYWAVEFILE
SAMSING.WAV
@ENDIF

@IF
UNITKILLED
unit=Mount Doom
attacker=Free Peoples
defender=Mordor
@THEN
TEXT
^^The Quest of the Ring is Accomplished!
^
^With a terrible rending blast, the One Ring falls into the fire of its creation. There it is consumed,
and with it, the evil of it's master is finally laid low. His terrible spirit will be purged forever from
this world and hurled out into the void. Sauron, the Lord of Darkness, is defeated!
^
^Weary beyond measure, the ring bearers rest, while all about them is a raging sea of lava. Surely
their end has come too. But, miraculously, from the west comes the rushing sound of mighty 
wings.
The eagles are coming to bear them away!
^And indeed the ring bearers are taken up and borne back to the field of Cormallen where they
are lauded with great praise!
^^THE END.
^
^And you too I praise, with great praise, for your quest is complete and the game is now finished.
Without you it could never have been accomplished.
^Who knows, years from now, should you tire of this world, perhaps you will be allowed to
travel into the Undying West aboad an elven swan ship. For you too were a ring-bearer.   ;-)
ENDTEXT
CHANGETERRAIN
terraintype=6
maprect
107,125,114,126,114,132,107,133
DESTROYACIVILIZATION
whom=Mordor
@ENDIF

@IF
UNITKILLED
unit=Frodo & Sam II
attacker=Mordor
defender=Free Peoples
@THEN
TEXT
^Frodo and Sam are waylaid by the enemy, but escape... only to run into the thieving hands of
Gollum. He has caught up with them after they escaped his trap in Torrech Ungol. This time he
takes the ring from Frodo and in siezing it suddenly finds himself compelled by his oath, to take
the ring to Mount Doom and cast himself, and it, into the fire.
^So, it seems Gandalf was right, "...he has some part to play, for good or ill, ere the end."
ENDTEXT
CREATEUNIT
unit=Gollum
owner=Free Peoples
veteran=yes
homecity=none
locations
102,128
102,130
103,129
endlocations
@ENDIF

@IF
TURN
turn=45
@THEN
TEXT
The great darkness issuing from Mordor becomes blacker still.
^Rumours of a dire threat causes panic among the beleaguered people of Gondor. The King of
the nine is abroad!
ENDTEXT
CREATEUNIT
unit=Witch-king
owner=Mordor
veteran=yes
homecity=none
locations
92,134
93,133
93,135
94,134
97,129
endlocations
@ENDIF

@IF
UNITKILLED
unit=Companions
attacker=ANYBODY
defender=Free Peoples
@THEN
TEXT
Frodo and Sam have been betrayed by Gollum. He has lead them into a trap in order to take the
One Ring for himself. But, he has been betrayed himself. The ring seeks it's master's hand and
soon it shall be His again!
^
^^GAME OVER!
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Gollum
attacker=ANYBODY
defender=Free Peoples
@THEN
TEXT
Gollum is captured! His precious is torn from him and taken immediately to Sauron!
^The quest of the Ring has failed utterly!
^There is no escape now. Freedom will fall as the Lord of the Rings' power waxes full!
^
^^GAME OVER!
ENDTEXT
CHANGEMONEY
receiver=Mordor
amount=10000
@ENDIF

@IF
CITYTAKEN
city=Minas Tirith
attacker=ANYBODY
defender=Free Peoples
@THEN
TEXT
Minas Tirith, great capital and last bastion of the West has fallen!
^Surely now this is the end of all hope.
^The West has failed and we are all to burn!
ENDTEXT
JUSTONCE
@ENDIF

@IF
NEGOTIATION
talker=Mordor
talkertype=HumanOrComputer
listener=none
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=none
talkertype=HumanOrComputer
listener=Mordor
listenertype=HumanOrComputer
@THEN
@ENDIF

@ENDEVENTS
